home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / comm / easyk110.zip / XMIT.OPT < prev   
Text File  |  1988-08-09  |  9KB  |  179 lines

  1. XMIT.OPT
  2.           EasyK 1.10 -- File Transfers to/from NERDC & UFFSC CMS
  3.  
  4. Copyright R. A. Elnicki, D.B.A.                               Kermit Made Easy
  5.  
  6.  
  7. COMMAND SEQUENCE FOR CMS TEXT FILE TRANSFERS
  8.  
  9.    The following sequence of commands will move a text file to VM/CMS  from
  10. a MS-DOS disk drive.    It  is  one of many sequences that may be used with
  11. Kermit.   This sequence  attempts  to  present  the  shortest  and  easiest
  12. procedure  to  accomplish  the  task.   The default file-type is text.  The
  13. command required to send/receive binary files through Kermit  is  discussed
  14. below.
  15.  
  16.    For this example, it is assumed a user wishes to move a MS-DOS text file
  17. named "VERSION3.DOC" from a floppy diskette in the micro B drive to NERDC's
  18. VM/CMS with the name "VERSION3 SCRIPT A1".  The micro is emulating  an  IBM
  19. 327X  terminal  signed  onto  VM/CMS  through  Kermit following the sign-on
  20. procedure shown above.  The  syntax used here to indicate that two keys are 
  21. to be pressed simultaneously is "key1 & key2", e.g.,  "Alt & x" on  Item  4 
  22. below means press the Alt key and x key at the same time.  Start  with  the
  23. CMS ready mode displayed, "R; ...", as shown on Line 1.
  24.  
  25.  1. VM/CMS Ready Prompt Displayed:    R; ...
  26.  
  27.  2. Enter Kermit-CMS Receive Command: kermit receive version3 script a1_
  28.  
  29.  3. Kermit Prompt Displayed:          CMS-Kermit ready to receive.
  30.                                       Please escape to local kermit to send ...
  31.  
  32.  4. Press the Escape Sequence:        Press "Alt & x"
  33.  
  34.  5. Enter Send Command After ">":     EasyK>send b:version3.doc
  35.  
  36.  6. Watch the File Being Sent:
  37.                                               File Name: VERSION3.DOC
  38.                                      KBytes Transferred: 0
  39.                                     Percent Transferred: 31%
  40.                                                 Sending: In progress
  41.  
  42.                                       Number of packets: 4
  43.                                       Number of retries: 0
  44.                                              Last error: none
  45.                                            Last warning: none
  46.  
  47.  7. When complete is shown,
  48.     enter Connect Command, c:        EasyK>c
  49.  
  50.  8. VM/CMS Ready Prompt Displayed:   R; ...
  51.  
  52.    The  user  may  wish  to enter the CMS "FILELIST" command to see the new
  53. file.  It will be the first in the list (unless  the  default  ordering  by
  54. date  has  been changed by the user).  The same sequence of commands can be
  55. used to move a file from CMS to a disk drive on a  microcomputer.    Assume
  56. the user that moved the MS-DOS file received a revised version of the paper
  57. --  perhaps  from a colleague at another university via BITNET -- and wants
  58. to move the revised version from a CMS file named "VERSION4 SCRIPT A"  onto
  59. his  microcomputer's  C drive with the name "VERSION4.DOC".   Lines 2 and 6
  60. above would change.  They would be entered as follows.
  61.  
  62.  2. Enter the Kermit-CMS Send Command:  kermit send version4 script a1 
  63.  
  64.  5. Enter the Receive Command after ">":  EasyK>receive c:version4.doc
  65.  
  66. The system responses would also change from receive to send and vice versa.
  67.  
  68. CMS BINARY FILE TRANSFERS
  69.  
  70.    Kermit will send (receive) a file to (from) VM/CMS  through  a  protocol
  71. converter  that changes characters in your microcomputer from ASCII from to
  72. VM/CMS's character form which is EBCIDIC by default.  Carriage return- line
  73. feed pairs are passed from the source file.   You may also  send  (receive)
  74. any  file  through  the protocol converter in binary form.  The commands on
  75. your micro end do not change.
  76.  
  77.    CMS, on the other hand, has to know what kind of  a  file  is  being
  78. sent if the file-type default text is not wanted.  Binary files require
  79. the use of a "SET FILE TYPE aaaaaa" command.  The following is a copy of
  80. the section on setting file types in CMS's "HELP KERMIT" at the NERDC.
  81.    
  82. FILE TYPE <BINARY | TEXT | V-BINARY | D-BINARY>
  83.  
  84.   If BINARY, CMS Kermit treats each character as a string of bits
  85.   and does not  perform translation on the  data.  Also, carriage
  86.   returns are not added to the end of outgoing records.  Incoming
  87.   bytes  are added  to the  end of  the current  record which  is
  88.   written out when the specified LRECL  is reached.  If TEXT, CMS
  89.   Kermit  treats the  file  as  plain text;  ASCII-to-EBCDIC  and
  90.   EBCDIC-to-ASCII  translation  is  performed  on  the  data.   A
  91.   carriage return-linefeed  is appended  to each  outgoing record
  92.   and  is used  to determine  the  end of  each incoming  record.
  93.   V-BINARY  specifies  variable-length-record binary  data;  like
  94.   BINARY,  except  that  a  2-byte  length  field  precedes  each
  95.   outbound record, and is assumed for incoming records.  D-BINARY
  96.   is similar,  but the  length field  is a  5-byte ASCII  decimal
  97.   string.
  98.                 
  99.    Assume you have a binary file (e.g., LOTUS 123 spreadsheet)  on a  micro 
  100. file named "DANAME.WK1" that you want to send  to  a friend (on NERDC's CMS
  101. or another mainframe).  You want the name of  the  file  in  VM/CMS  to  be
  102. "DANAME BIN A1", using "BIN" as  the filetype for identification  --  it is
  103. not NECESSARY to make the filetype equal to "BIN."
  104.  
  105.    Given that you are signed onto NERDC's VM/CMS, with the ready prompt  as
  106. shown on Line 1 above, you can enter the Kermit-CMS  receive  command.  The
  107. sequence suggested here uses the CMS line-end character set for  your  ses-
  108. sion by default,  the "#" sign (use the one you set in your PROFILE EXEC if
  109. you changed it).  You tell CMS to get ready to receive a file named "DANAME
  110. BIN A1" with the FILE TYPE BINARY,  then you escape to your PC EasyK prompt
  111. with "Alt x", and then send the PC file "DANAME.WK1" that is on  the  LOTUS 
  112. LOTUS subdirectory of your C drive in this example.
  113.  
  114. CMS Entry:         kermit set file type binary # receive daname binary a1
  115.  
  116. Escape to your PC: "Alt & x"
  117.  
  118. PC Entry:          EasyK>send c:\lotus\daname.wk1
  119.  
  120. You can list this file when you are in a CMS session as follows. 1) Escape    
  121. to your PC by pressing "Alt & x".  2) Enter "do xmit" at the EasyK prompt.
  122. 3) Enter "c" at the EasyK prompt to return to the CMS session.
  123.    
  124. PACKET SIZES 
  125.  
  126. The following file should be included in your VM/CMS files with the name 
  127. "SYSTEM KERMINI A" if your phone line gives reasonably clear service.  If
  128. your phone line is noisey you may want to reduce the send packet size to a 
  129. smaller length such as 94 and the receive packet size to 250.
  130.  
  131. set send packet 250 
  132. set receive packet 1000
  133. set block-check 3
  134. set handshake 0
  135. set warning on
  136.  
  137. The author has never had problems with these packet sizes using EasyK from
  138. his home on a voice grade phone line.
  139.  
  140. FILE TRANSMIT (XMIT) TIMES
  141.  
  142. A number of variables influence the amount of time it takes to transer a file
  143. including the file size, modem baud rate, packet size and file transfer 
  144. software.  A 43,479-byte text file was transferred five times from NERDC's 
  145. VM/CMS to micros.  It was 19 pages of text only printed with 4 one-inch 
  146. margins, double spacing, 6 lines per inch, and 12 characters per inch.  
  147. In all cases, the file was being written to a micro hard disk and "phone" 
  148. means the author's voice-grade home telephone line.
  149.      
  150.                   #1       #2         #3          #4            #5
  151. Micro & Model   IBM PC   IBM PC    XT Turbo   IBM 3270 AT   IBM 3270 PC
  152.  
  153. Processor Mhz    6.67     6.67       8.00         8.00          4.77           
  154. XMIT Software    Yale    Kermit     Kermit    Work Station  Work Station
  155.                Terminal                       Control Prog. Control Prog.  
  156.  
  157. Line.........    Phone   Phone      Phone     Coax on IBM   Coax Channel
  158.                                                3274-C41      Connected
  159. Baud Rate....    2400    2400       2400         9600          19600  
  160.  
  161. Time of Day..    Friday  Friday     Friday       Friday        Friday
  162. Day of Week..    00:05   00:32      20:18        09:12         09:11
  163.  
  164. XMIT Time....   8.5 Min. 3.9 Min.  3.7 Min.     2.3 Min.      .87 Min.
  165.       
  166. The Kermit transfers were done with the packet sizes recommended above.  
  167. These 5 te